import {RECEIVE_ADDRESS,RECEIVE_CATEGORYS,RECEIVE_SHOPS,RECEIVE_USER_INFO} from './mutation-types'
export default {
    // 存储地址信息
     [RECEIVE_ADDRESS](state,{address}){
         state.address=address
     },
    //  存储分类
     [RECEIVE_CATEGORYS](state,{categorysx}){
        state.categorys=categorysx
    },
    // 存储商家信息
    [RECEIVE_SHOPS](state,{shops}){
        state.shops=shops
    },
    // 存储个人信息
    [RECEIVE_USER_INFO](state,{userInfo}){
        state.userInfo=userInfo
    },
}